package com.woniuxy.woniubookmanager.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.woniubookmanager.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.woniubookmanager.vo.RoleAuthority;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wugd
 * @since 2022-11-29 04:03:13
 */
public interface RoleService extends IService<Role> {

    Page<Role> getRoleByPage(Integer now, Integer size, String rname);

    void removeRoleById(Long id);

    void roleAuthority(RoleAuthority roleAuthority);

    Long[] getRoleIdByMid(Long id);
}
